<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: libs/stdio.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">stdio.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="stdio_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __LIBS_STDIO_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __LIBS_STDIO_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="defs_8h.html">defs.h</a>&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="stdarg_8h.html">stdarg.h</a>&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">/* kern/libs/stdio.c */</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keywordtype">int</span> <a class="code" href="stdio_8h.html#ab5c1b009763ca6674c08b6241dad015c">cprintf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...);</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keywordtype">int</span> <a class="code" href="stdio_8h.html#a6d5854f463c39b8d25aaa127b216832e">vcprintf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, <a class="code" href="stdarg_8h.html#af53f622e3b6c080daeb167c1955d7ec1">va_list</a> ap);</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keywordtype">void</span> <a class="code" href="stdio_8h.html#a957c6cffc0963f9e00e839f6f8af6fb9">cputchar</a>(<span class="keywordtype">int</span> c);</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keywordtype">int</span> <a class="code" href="stdio_8h.html#a4e829a998e98420a970f267f63e91551">cputs</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keywordtype">int</span> <a class="code" href="stdio_8h.html#a3e29caa20f7cffe18f410f01278905a8">getchar</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">/* kern/libs/readline.c */</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keywordtype">char</span> *<a class="code" href="stdio_8h.html#adc634fefff1a9f71c87a04e1eddb8649">readline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *prompt);</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">/* libs/printfmt.c */</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keywordtype">void</span> <a class="code" href="stdio_8h.html#ad7d3bbf7612143a989ce3e9d1bfebf87">printfmt</a>(<span class="keywordtype">void</span> (*putch)(<span class="keywordtype">int</span>, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *putdat, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...);</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keywordtype">void</span> <a class="code" href="stdio_8h.html#a6434f2b779b5ede2adc31ee4f7d64198">vprintfmt</a>(<span class="keywordtype">void</span> (*putch)(<span class="keywordtype">int</span>, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *putdat, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, <a class="code" href="stdarg_8h.html#af53f622e3b6c080daeb167c1955d7ec1">va_list</a> ap);</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keywordtype">int</span> <a class="code" href="stdio_8h.html#a37c1e8ce8a2b411fa666dc33972a2cec">snprintf</a>(<span class="keywordtype">char</span> *str, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...);</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keywordtype">int</span> <a class="code" href="stdio_8h.html#a154043ea6d83b8616f3148fbf4f24244">vsnprintf</a>(<span class="keywordtype">char</span> *str, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, <a class="code" href="stdarg_8h.html#af53f622e3b6c080daeb167c1955d7ec1">va_list</a> ap);</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* !__LIBS_STDIO_H__ */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160; </div>
<div class="ttc" id="adefs_8h_html"><div class="ttname"><a href="defs_8h.html">defs.h</a></div></div>
<div class="ttc" id="astdarg_8h_html"><div class="ttname"><a href="stdarg_8h.html">stdarg.h</a></div></div>
<div class="ttc" id="astdarg_8h_html_af53f622e3b6c080daeb167c1955d7ec1"><div class="ttname"><a href="stdarg_8h.html#af53f622e3b6c080daeb167c1955d7ec1">va_list</a></div><div class="ttdeci">__builtin_va_list va_list</div><div class="ttdef"><b>Definition:</b> stdarg.h:5</div></div>
<div class="ttc" id="astdio_8h_html_a154043ea6d83b8616f3148fbf4f24244"><div class="ttname"><a href="stdio_8h.html#a154043ea6d83b8616f3148fbf4f24244">vsnprintf</a></div><div class="ttdeci">int vsnprintf(char *str, size_t size, const char *fmt, va_list ap)</div><div class="ttdef"><b>Definition:</b> printfmt.c:329</div></div>
<div class="ttc" id="astdio_8h_html_a37c1e8ce8a2b411fa666dc33972a2cec"><div class="ttname"><a href="stdio_8h.html#a37c1e8ce8a2b411fa666dc33972a2cec">snprintf</a></div><div class="ttdeci">int snprintf(char *str, size_t size, const char *fmt,...)</div><div class="ttdef"><b>Definition:</b> printfmt.c:305</div></div>
<div class="ttc" id="astdio_8h_html_a3e29caa20f7cffe18f410f01278905a8"><div class="ttname"><a href="stdio_8h.html#a3e29caa20f7cffe18f410f01278905a8">getchar</a></div><div class="ttdeci">int getchar(void)</div><div class="ttdef"><b>Definition:</b> stdio.c:72</div></div>
<div class="ttc" id="astdio_8h_html_a4e829a998e98420a970f267f63e91551"><div class="ttname"><a href="stdio_8h.html#a4e829a998e98420a970f267f63e91551">cputs</a></div><div class="ttdeci">int cputs(const char *str)</div><div class="ttdef"><b>Definition:</b> stdio.c:60</div></div>
<div class="ttc" id="astdio_8h_html_a6434f2b779b5ede2adc31ee4f7d64198"><div class="ttname"><a href="stdio_8h.html#a6434f2b779b5ede2adc31ee4f7d64198">vprintfmt</a></div><div class="ttdeci">void vprintfmt(void(*putch)(int, void *), void *putdat, const char *fmt, va_list ap)</div><div class="ttdef"><b>Definition:</b> printfmt.c:117</div></div>
<div class="ttc" id="astdio_8h_html_a6d5854f463c39b8d25aaa127b216832e"><div class="ttname"><a href="stdio_8h.html#a6d5854f463c39b8d25aaa127b216832e">vcprintf</a></div><div class="ttdeci">int vcprintf(const char *fmt, va_list ap)</div><div class="ttdef"><b>Definition:</b> stdio.c:27</div></div>
<div class="ttc" id="astdio_8h_html_a957c6cffc0963f9e00e839f6f8af6fb9"><div class="ttname"><a href="stdio_8h.html#a957c6cffc0963f9e00e839f6f8af6fb9">cputchar</a></div><div class="ttdeci">void cputchar(int c)</div><div class="ttdef"><b>Definition:</b> stdio.c:51</div></div>
<div class="ttc" id="astdio_8h_html_ab5c1b009763ca6674c08b6241dad015c"><div class="ttname"><a href="stdio_8h.html#ab5c1b009763ca6674c08b6241dad015c">cprintf</a></div><div class="ttdeci">int cprintf(const char *fmt,...)</div><div class="ttdef"><b>Definition:</b> stdio.c:40</div></div>
<div class="ttc" id="astdio_8h_html_ad7d3bbf7612143a989ce3e9d1bfebf87"><div class="ttname"><a href="stdio_8h.html#ad7d3bbf7612143a989ce3e9d1bfebf87">printfmt</a></div><div class="ttdeci">void printfmt(void(*putch)(int, void *), void *putdat, const char *fmt,...)</div><div class="ttdef"><b>Definition:</b> printfmt.c:97</div></div>
<div class="ttc" id="astdio_8h_html_adc634fefff1a9f71c87a04e1eddb8649"><div class="ttname"><a href="stdio_8h.html#adc634fefff1a9f71c87a04e1eddb8649">readline</a></div><div class="ttdeci">char * readline(const char *prompt)</div><div class="ttdef"><b>Definition:</b> readline.c:25</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
